package cn.lovingliu.chanma.mapper;

import cn.lovingliu.chanma.pojo.DllItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DllItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DllItem record);

    int insertSelective(DllItem record);

    DllItem selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DllItem record);

    int updateByPrimaryKey(DllItem record);

    DllItem selectByDllNumber(String dllNumber);

    List<DllItem> selectByMainId(String mainId);

    int insertBatch(@Param("dllItemList") List<DllItem> dllItemList);
}
